package com.example.demo.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Author hweiyu
 * @Description
 * @Date 2022/6/28 9:20
 */
@Getter
@AllArgsConstructor
public enum View {

    MAIN("/fxml/main.fxml", "mainController", "主页", ""),
    WELCOME("/fxml/welcome.fxml", null, "欢迎页", ""),

    DATA_INDEX("/fxml/data/index.fxml", "dataIndexController", "数据管理", ""),
    DATA_INSERT("/fxml/data/insert.fxml", "dataInsertController", "数据管理", "新增"),
    DATA_UPDATE("/fxml/data/update.fxml", "dataUpdateController", "数据管理", "编辑"),

    ABOUT("/fxml/about.fxml", null, "关于作者", ""),

    ;

    private String fxml;

    private String controller;

    private String module;

    private String title;
}
